//include required lib-file
#pragma comment(lib,"libMT.lib")

// for output via printf
#include <stdio.h>

//use libMT
#include "libMT.h"

//also need an abstract tracer-class
#include "Tracer.h"

CTracer tracer;	//our tracer
mtScreen *screen; //our screen

int main(int argc, char** argv) {
	screen = libMT::getMTScreen();
	if(screen->connect())
	{	
		screen->loadConfig("");
		screen->addListener((mtListener *)&tracer);
		screen->start();
		while(1)
		{
			//do something stupid
			//printf(".");
		}
		libMT::destroy();	//don't forget to destroy the device
	}
}